package com.example.demo.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.github.jeffreyning.mybatisplus.anno.MppMultiId;
import lombok.Data;

import javax.persistence.Column;

@TableName("cooperativeEnt")
@Data
public class CooperativeEnt {
    @MppMultiId
    private Integer firmId;
    private String firmName;
    private String needPro;
    private String name;
    private String tel;
    private String location;
    private String note;
    @MppMultiId
    private Integer tenantId;

    public CooperativeEnt() {

    }

    public Integer getTenantId() {
        return tenantId;
    }

    public void setTenantId(Integer tenantId) {
        this.tenantId = tenantId;
    }



    public CooperativeEnt(Integer firmId, String firmName, String needPro, String name, String tel, String location, String note,Integer tenantId) {
        this.firmId = firmId;
        this.firmName = firmName;
        this.needPro = needPro;
        this.name = name;
        this.tel = tel;
        this.location = location;
        this.note = note;
        this.tenantId=tenantId;
    }

    public Integer getFirmId() {
        return firmId;
    }

    public void setFirmId(Integer firmId) {
        this.firmId = firmId;
    }

    public String getFirmName() {
        return firmName;
    }

    public void setFirmName(String firmName) {
        this.firmName = firmName;
    }

    public String getNeedPro() {
        return needPro;
    }

    public void setNeedPro(String needPro) {
        this.needPro = needPro;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTel() {
        return tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getNote() {
        return note;
    }

    public void setNote(String note) {
        this.note = note;
    }
}
